#!/bin/bash

# 关闭clash服务
PID_NUM=`ps -u yangwenjie -f | grep [c]lash-linux-a | wc -l`
PID=`ps -u yangwenjie -f | grep [c]lash-linux-a | awk '{print $2}'`
if [ $PID_NUM -ne 0 ]; then
	kill -9 $PID
	# ps -ef | grep [c]lash-linux-a | awk '{print $2}' | xargs kill -9
fi
